package com.swpu.service_xueya.mapper;

import com.swpu.service_xueya.entity.XuetangRecord;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.swpu.service_xueya.entity.vo.XuetangRecordVo;
import com.swpu.service_xueya.entity.vo.XuetangRecordVo2;
import com.swpu.service_xueya.entity.vo.XueyaRecordVo;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author chaichai
 * @since 2024-04-21
 */
@Mapper
public interface XuetangRecordMapper extends BaseMapper<XuetangRecord> {

    List<XuetangRecordVo> getAvgXuetangForWeek(String userId,Integer measureDurationId);

    List<XuetangRecordVo2> getXuetangDataList(String userId, int start, Integer offset);
}
